(function() {
   var test = J3D.Testcase.F;
   var result = document.getElementById('result');
   var items = document.getElementById('items');
   for (var key in test) {
     if (test.hasOwnProperty(key)) {
       var a = document.createElement('a');
       a.className = 'subTitle';
       a.href = 'javascript:void(0)';
       a.innerHTML = key;
       a.onclick = runTest(key);
       items.appendChild(a);
     }
   }
   
   function runTest(key) {
     return function() {
       result.innerHTML = test[key]();
     };
   }
 })();
